home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 3557 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: marge.cs.mcgill.ca!hus
  2. From: hus@marge.cs.mcgill.ca (Song HU)
  3. Newsgroups: comp.lang.c
  4. Subject: need help on direct keyboard input
  5. Date: 29 Jan 1996 22:51:22 GMT
  6. Organization: School of Computer Science, McGill U, Montreal
  7. Message-ID: <4ejj1a$bi1@lisa.cs.mcgill.ca>
  8. NNTP-Posting-Host: marge.cs.mcgill.ca
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. Hi,expert:
  12.   I used programing in Basic language, there is a function name "
  13.   inkey$", it will get one character from keyboard and do something.
  14.   now, I would like to make a similar function in C, I try getchar()
  15.   read() and other input function. they won't process the input unless
  16.   you press Enter on you keyboard, is there somebody know how can
  17.   program it in C?
  18.  
  19.   Thank you for any suggestion
  20.  
  21.   song
  22.  
  23. --
  24. --------------------------------    ,-. __ .-,    -------------------
  25. Song HU                          --;`. '   `.'    Hus@cs.mcgill.ca
  26. McGill University                 / (  ^__^  )    Tel: (514) 496-8010(o)
  27. Montreal, Quebec  H3Z 2P8          ~`-..._)))(((.'                       
  28. --------------------------------        -------------------
  29.